#ifndef INCOMERECORDLIST_H
#define INCOMERECORDLIST_H
#include "recordlist.h"
#include <vector>
#include<QMessageBox>

using namespace std;
class IncomeRecordList: public RecordList
{
private:
    static vector<QString> incomeCategoryList;
public:
    IncomeRecordList();
    int categorysize();
    QString getcategory(int);
    vector<QString> getCategoryList();
    void clearCategoryList();
    void operator=(IncomeRecordList copy);
    void addCategory(QString);
    void removeCategory(QString);
    double calculateIncome();
};

#endif // INCOMERECORDLIST_H
